package com.ls.fw.auth.oauth2.as.exception;


/**
 * 异常
 * @author ls 2014年11月21日下午2:13:15
 */
public class OAuth2Exception extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String code =  "";

	public OAuth2Exception(String code,String message) {
		super(message);
		this.code = code;
	}
	
	public OAuth2Exception(String code,String message, Throwable cause) {
		super(message, cause);
		this.code = code;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	 
}